//
//  main.m
//  str
//
//  Created by qianfeng on 15/8/4.
//  Copyright (c) 2015年 qianfeng. All rights reserved.
//
//1：创建一个数组，元素是5个Dog 类的对象地址，遍历数组，是每个元素都执行bark函数,bark函数可以打印出dog 的姓名和年龄

#import <Foundation/Foundation.h>
#import "XYDog.h"
#import "XYTest.h"
#import "XYCat.h"

int main(int argc, const char * argv[]) {
    @autoreleasepool {
     //1.
        [XYTest bark];
        //2.
        [XYTest threeCatsAndthreeDogs];
        //3.
        [XYTest GetWordsCount:@"welcom   to   qianfeng"];
        //4.
        [XYTest niXu:@"Yes i am a so bad man"];
        //5.
        [XYTest exchangeA:@"This is a boy" andB:@"really  really too  bad so much"];
        //7.
        [XYTest sortStudent];
    }
    return 0;
}

























